package com.example.stringbufferlogger.dto;

import lombok.Data;

import java.util.Map;

@Data
public class HttpResponse {
    private int status;
    private Map<String, String> headers;
    private String body;

    // getters and setters
    public int getStatus() { return status; }
    public void setStatus(int status) { this.status = status; }
    public Map<String, String> getHeaders() { return headers; }
    public void setHeaders(Map<String, String> headers) { this.headers = headers; }
    public String getBody() { return body; }
    public void setBody(String body) { this.body = body; }
}
